Feat: Implement Skill Synergy Combo Multiplier (#1173) - #1191
Merged
komalharshita merged 2 commits intoJul 19, 2026
Merged
Conversation
- Added SYNERGY_MAP dictionary with predefined highly synergistic skill combos - Modified score_single_project to check for subset matches and apply a max multiplier to the skill score - Injected synergy_applied flag into recommended projects - Updated frontend JS to display a 'Synergy Match' badge
|
Someone is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
Thank you for your contribution to DevPath! Great work, and I'm happy to approve this PR. Keep contributing! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces the "Skill Synergy" Combo Multiplier to address #1173. Previously, knowing highly synergistic skills like "React" and "Node.js" for a full-stack project only yielded a linear addition of points, failing to reward cohesive stack matches. This update adds a
SYNERGY_MAPdictionary to the backend recommender containing predefined skill combinations. If a user possesses a specific combination of skills that forms a synergistic subset of the project's requirements, a max multiplier (e.g.,1.5) is applied to their skill score. Additionally, a new UI badge ("Synergy Match ✨") has been added to the frontend to visually highlight these perfect stack matches to the user.Related Issue
Closes #1173
Type of Change
data/projects.jsonWhat Was Changed
src/utils/recommender.pySYNERGY_MAPdictionary withfrozensetkeys representing synergistic tech stacks (e.g., React+Node). Updatedscore_single_project()to check if any synergy group is a subset of the user's matched skills for a given project, and if so, applies a multiplier to the final skill score. Also updated it to return asynergy_appliedboolean flag, which is subsequently injected into theprojectdict insideget_recommendations().src/static/script.jsbuildProjectCard()to check for the newproject.synergy_appliedflag and dynamically append a "Synergy Match ✨" badge to the project tags array.How to Test This PR
git checkout feat/issue-1173-skill-synergypip install -r requirements.txtpython app.pyReact, Nodein the skills input on the homepage and submit.python tests/test_basic.py(orpytest tests/test_basic.py)Expected test output:
Test Results
Self-Review Checklist
feat/,fix/,docs/,data/,style/,test/python tests/test_basic.pyand all 27 tests passflake8 .locally and there are no errorsprint()orconsole.log()debug statementsNotes for Reviewer
None